# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname="xfce4-stopwatch-plugin"
pkgver=0.4.0
pkgrel=1
pkgdesc="Stopwatch plugin for the Xfce panel"
url="https://goodies.xfce.org/projects/panel-plugins/xfce4-stopwatch-plugin"
arch="all !mips !mips64" # blocked by libxfce4ui-dev
license="BSD-2-Clause"
makedepends="xfce4-panel-dev libxfce4ui-dev gtk+3.0-dev"
options="!check" # no testsuite
subpackages="$pkgname-lang"
source="http://archive.xfce.org/src/panel-plugins/xfce4-stopwatch-plugin/${pkgver%.*}/xfce4-stopwatch-plugin-$pkgver.tar.bz2"
builddir="$srcdir/xfce4-stopwatch-plugin-$pkgver"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="5c404e572fac07280bd4a16aa069c5fd7f60ae2a09397cb11bc17b67b502bf4c27d275d5b3b28cc09d2fae31354742f193fcd87ee4e100bca9156293aca91d04  xfce4-stopwatch-plugin-0.4.0.tar.bz2"
